import {defHttp} from "@/utils/http/axios";

export function getDeviceData(param) {
  const { page = 1, pageSize = 10, search = '' } = param;
  return defHttp.get({url: `/getDeviceData/${page}/${pageSize}${search ? '?' + search : ''}`});
}
